<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <div>
        <p></p>
        <em></em>
        <strong></strong>
        <i></i>
    </div>
    <script>
        var div = document.querySelector('div');
        var oDiv = div.children;
        for(let i=0; i<oDiv.length; i++){
            if(i == 0){
                continue
            }else{
                var removeDom = div.removeChild(oDiv[i]);
                div.insertBefore(removeDom, oDiv[0])
            }
            
        }
    </script>
</body>
</html>